<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>编辑班级</h1>
    <form method="POST" action="/edit_class/?nid={{ result.id }}">
        <p>班级名称<input type="text" name="title" value="{{ result.title }}"></p>
        <input type="submit" value="提交">
    </form>
</body>
</html>